package com.lizhi.yun.sync.rsz.controller;/**
 * @program: hbsf_yun
 * @name RszTrainRecordSyncController
 * @description: 训练信息
 * @author: lizhi
 * @create: 2021-11-17 08:46
 */

import com.lizhi.yun.sync.rsz.handler.RszTrainRecordSyncHandler;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *@program: hbsf_yun
 *@name RszTrainRecordSyncController
 *@description: 训练信息
 *@author: lizhi
 *@create: 2021-11-17 08:46
 */
@RestController
@RequestMapping(value = "/api/sync/trainRecord")
public class RszTrainRecordSyncController {

    @Resource
    private RszTrainRecordSyncHandler rszTrainRecordSyncHandler;

    @PostMapping(path = "/recv")
    public String recv(@RequestBody String json){
        return rszTrainRecordSyncHandler.recv(json);
    }
}
